'宣言 Public Overloads Sub Set( _ ByVal shader As T, _ ByVal classInstances() As ClassInstance _ )
public void Set( T shader, ClassInstance[] classInstances )
パラメータ
- shader
- The shader to assign to the device. Assign
null
to disable the compute shader. - classInstances
- An array of class-instance interfaces. Each interface used by a shader must have a corresponding class instance or the shader will get disabled.